import { Component, OnInit } from '@angular/core';
import {Router} from '@angular/router'
@Component({
  selector: 'app-name-child',
  templateUrl: './name-child.component.html',
  styleUrls: ['./name-child.component.css']
})
export class NameChildComponent implements OnInit {

  constructor(private router:Router) { }

  ngOnInit() {
  }
  openPopu(){
    this.router.navigate([{outlets:{popup:'nameD'}}])
  }

}
